package com.yang.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yang.model.wemedia.pojos.WmNewsMaterial;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Billyang
 * @date 2024/9/25 10:29
 */
public interface WmNewsMaterialMapper extends BaseMapper<WmNewsMaterial> {

    void saveRelations(@Param("materialIds") List<Integer> materialIds, @Param("newsId") Integer newsId, @Param("type")Short type);

}
